<?php if ($currentObject->dent==0)
 { echo "Toutes";
 } else 
 {
 	
 	echo preg_replace("/#/", ", ", $currentObject->dent);

 	
 	
 	if (false){
 	
 	?>
 	
 	


	 <script type="text/javascript">

    if (swfobject.hasFlashPlayerVersion("6.0.0")) {
        var fn = function() {
          var att = { data:"/<?=getFilesPath("image")?>/cabinetdentchooser.swf", width:"200px", height:"70px" };
          var par = { wmode:"transparent",flashvars:"noclick=&selectedindex=<?=$currentObject->dent?>&host=http://<?=getPortalHost()?>/&dossierId=<?=getObjByKey("cabinet_soins","dossierId","id",$currentObject->id)?>" };
          var id = "myContent_<?=$currentObject->id?>";
          var myObject = swfobject.createSWF(att, par, id);
        };
        swfobject.addDomLoadEvent(fn);
      }
    </script>
 <div id="myContent_<?=$currentObject->id?>">
      </div>

	
 	<?php 

 	 }  } 
	?>